/*传入银行卡英文简称，返回银行卡类型以及银行卡所属银行中文名称
bankName(bank)   例如bank=CCB，返回中国建设银行
cardType(bank)   例如bank=DC ，返回储蓄卡
*/
function bankName(bank){
  var bankname;
  switch (bank) {
     case "SRCB":bankname="深圳农村商业银行";break;
     case "BGB":bankname="广西北部湾银行";break;
     case "SHRCB":bankname="上海农村商业银行";break;
     case "BJBANK":bankname="北京银行";break;
     case "WHCCB":bankname="威海市商业银行";break;
     case "BOZK":bankname="周口银行";break;
     case "KORLABANK":bankname="库尔勒市商业银行";break;
     case "SPABANK":bankname="平安银行";break;
     case "SDEB":bankname="顺德农商银行";break;
     case "HURCB":bankname="湖北省农村信用社";break;
     case "WRCB":bankname="无锡农村商业银行";break;
     case "BOCY":bankname="朝阳银行";break;
     case "CZBANK":bankname="浙商银行";break;
     case "HDBANK":bankname="邯郸银行";break;
     case "BOC":bankname="中国银行";break;
     case "BOD":bankname="东莞银行";break;
     case "CCB":bankname="中国建设银行";break;
     case "ZYCBANK":bankname="遵义市商业银行";break;
     case "SXCB":bankname="绍兴银行";break;
     case "GZRCU":bankname="贵州省农村信用社";break;
     case "ZJKCCB":bankname="张家口市商业银行";break;
     case "BOJZ":bankname="锦州银行";break;
     case "BOP":bankname="平顶山银行";break;
     case "HKB":bankname="汉口银行";break;
     case "SPDB":bankname="上海浦东发展银行";break;
     case "NXRCU":bankname="宁夏黄河农村商业银行";break;
     case "NYNB":bankname="广东南粤银行";break;
     case "GRCB":bankname="广州农商银行";break;
     case "BOSZ":bankname="苏州银行";break;
     case "HZCB":bankname="杭州银行";break;
     case "HSBK":bankname="衡水银行";break;
     case "HBC":bankname="湖北银行";break;
     case "JXBANK":bankname="嘉兴银行";break;
     case "HRXJB":bankname="华融湘江银行";break;
     case "BODD":bankname="丹东银行";break;
     case "AYCB":bankname="安阳银行";break;
     case "EGBANK":bankname="恒丰银行";break;
     case "CDB":bankname="国家开发银行";break;
     case "TCRCB":bankname="江苏太仓农村商业银行";break;
     case "NJCB":bankname="南京银行";break;
     case "ZZBANK":bankname="郑州银行";break;
     case "DYCB":bankname="德阳商业银行";break;
     case "YBCCB":bankname="宜宾市商业银行";break;
     case "SCRCU":bankname="四川省农村信用";break;
     case "KLB":bankname="昆仑银行";break;
     case "LSBANK":bankname="莱商银行";break;
     case "YDRCB":bankname="尧都农商行";break;
     case "CCQTGB":bankname="重庆三峡银行";break;
     case "FDB":bankname="富滇银行";break;
     case "JSRCU":bankname="江苏省农村信用联合社";break;
     case "JNBANK":bankname="济宁银行";break;
     case "CMB":bankname="招商银行";break;
     case "JINCHB":bankname="晋城银行JCBANK";break;
     case "FXCB":bankname="阜新银行";break;
     case "WHRCB":bankname="武汉农村商业银行";break;
     case "HBYCBANK":bankname="湖北银行宜昌分行";break;
     case "TZCB":bankname="台州银行";break;
     case "TACCB":bankname="泰安市商业银行";break;
     case "XCYH":bankname="许昌银行";break;
     case "CEB":bankname="中国光大银行";break;
     case "NXBANK":bankname="宁夏银行";break;
     case "HSBANK":bankname="徽商银行";break;
     case "JJBANK":bankname="九江银行";break;
     case "NHQS":bankname="农信银清算中心";break;
     case "MTBANK":bankname="浙江民泰商业银行";break;
     case "LANGFB":bankname="廊坊银行";break;
     case "ASCB":bankname="鞍山银行";break;
     case "KSRB":bankname="昆山农村商业银行";break;
     case "YXCCB":bankname="玉溪市商业银行";break;
     case "DLB":bankname="大连银行";break;
     case "DRCBCL":bankname="东莞农村商业银行";break;
     case "GCB":bankname="广州银行";break;
     case "NBBANK":bankname="宁波银行";break;
     case "BOYK":bankname="营口银行";break;
     case "SXRCCU":bankname="陕西信合";break;
     case "GLBANK":bankname="桂林银行";break;
     case "BOQH":bankname="青海银行";break;
     case "CDRCB":bankname="成都农商银行";break;
     case "QDCCB":bankname="青岛银行";break;
     case "HKBEA":bankname="东亚银行";break;
     case "HBHSBANK":bankname="湖北银行黄石分行";break;
     case "WZCB":bankname="温州银行";break;
     case "TRCB":bankname="天津农商银行";break;
     case "QLBANK":bankname="齐鲁银行";break;
     case "GDRCC":bankname="广东省农村信用社联合社";break;
     case "ZJTLCB":bankname="浙江泰隆商业银行";break;
     case "GZB":bankname="赣州银行";break;
     case "GYCB":bankname="贵阳市商业银行";break;
     case "CQBANK":bankname="重庆银行";break;
     case "DAQINGB":bankname="龙江银行";break;
     case "CGNB":bankname="南充市商业银行";break;
     case "SCCB":bankname="三门峡银行";break;
     case "CSRCB":bankname="常熟农村商业银行";break;
     case "SHBANK":bankname="上海银行";break;
     case "JLBANK":bankname="吉林银行";break;
     case "CZRCB":bankname="常州农村信用联社";break;
     case "BANKWF":bankname="潍坊银行";break;
     case "ZRCBANK":bankname="张家港农村商业银行";break;
     case "FJHXBC":bankname="福建海峡银行";break;
     case "ZJNX":bankname="浙江省农村信用社联合社";break;
     case "LZYH":bankname="兰州银行";break;
     case "JSB":bankname="晋商银行";break;
     case "BOHAIB":bankname="渤海银行";break;
     case "CZCB":bankname="浙江稠州商业银行";break;
     case "YQCCB":bankname="阳泉银行";break;
     case "SJBANK":bankname="盛京银行";break;
     case "XABANK":bankname="西安银行";break;
     case "BSB":bankname="包商银行";break;
     case "JSBANK":bankname="江苏银行";break;
     case "FSCB":bankname="抚顺银行";break;
     case "HNRCU":bankname="河南省农村信用";break;
     case "COMM":bankname="交通银行";break;
     case "XTB":bankname="邢台银行";break;
     case "CITIC":bankname="中信银行";break;
     case "HXBANK":bankname="华夏银行";break;
     case "HNRCC":bankname="湖南省农村信用社";break;
     case "DYCCB":bankname="东营市商业银行";break;
     case "ORBANK":bankname="鄂尔多斯银行";break;
     case "BJRCB":bankname="北京农村商业银行";break;
     case "XYBANK":bankname="信阳银行";break;
     case "ZGCCB":bankname="自贡市商业银行";break;
     case "CDCB":bankname="成都银行";break;
     case "HANABANK":bankname="韩亚银行";break;
     case "CMBC":bankname="中国民生银行";break;
     case "LYBANK":bankname="洛阳银行";break;
     case "GDB":bankname="广东发展银行";break;
     case "ZBCB":bankname="齐商银行";break;
     case "CBKF":bankname="开封市商业银行";break;
     case "H3CB":bankname="内蒙古银行";break;
     case "CIB":bankname="兴业银行";break;
     case "CRCBANK":bankname="重庆农村商业银行";break;
     case "SZSBK":bankname="石嘴山银行";break;
     case "DZBANK":bankname="德州银行";break;
     case "SRBANK":bankname="上饶银行";break;
     case "LSCCB":bankname="乐山市商业银行";break;
     case "JXRCU":bankname="江西省农村信用";break;
     case "ICBC":bankname="中国工商银行";break;
     case "JZBANK":bankname="晋中市商业银行";break;
     case "HZCCB":bankname="湖州市商业银行";break;
     case "NHB":bankname="南海农村信用联社";break;
     case "XXBANK":bankname="新乡银行";break;
     case "JRCB":bankname="江苏江阴农村商业银行";break;
     case "YNRCC":bankname="云南省农村信用社";break;
     case "ABC":bankname="中国农业银行";break;
     case "GXRCU":bankname="广西省农村信用";break;
     case "PSBC":bankname="中国邮政储蓄银行";break;
     case "BZMD":bankname="驻马店银行";break;
     case "ARCU":bankname="安徽省农村信用社";break;
     case "GSRCU":bankname="甘肃省农村信用";break;
     case "LYCB":bankname="辽阳市商业银行";break;
     case "JLRCU":bankname="吉林农信";break;
     case "URMQCCB":bankname="乌鲁木齐市商业银行";break;
     case "XLBANK":bankname="中山小榄村镇银行";break;
     case "CSCB":bankname="长沙银行";break;
     case "JHBANK":bankname="金华银行";break;
     case "BHB":bankname="河北银行";break;
     case "NBYZ":bankname="鄞州银行";break;
     case "LSBC":bankname="临商银行";break;
     case "BOCD":bankname="承德银行";break;
     case "SDRCU":bankname="山东农信";break;
     case "NCB":bankname="南昌银行";break;
     case "TCCB":bankname="天津银行";break;
     case "WJRCB":bankname="吴江农商银行";break;
     case "CBBQS":bankname="城市商业银行资金清算中心";break;
     case "HBRCU":bankname="河北省农村信用社";break;
     default:break;
  }
  return bankname;
}
function cardType(bank){
  var cardtype;
  switch (bank) {
    case "DC":cardtype="储蓄卡";break;
    case "CC":cardtype="信用卡";break;
    default:cardtype="银行卡";break;
  }
  return cardtype;
}
